import { GET } from '../axios/method';
import API from './api';

// 获取用户信息
export function getSetting() {
  return GET(API.APP_get_setting);
}

// 获取用户信息
export function getIndexMenu() {
  return GET(API.APP_index_menu);
}

// 获取页面信息
export function getHtmlPage(id: number) {
  const params = {
    id,
  };
  return GET(API.APP_html_page, params);
}
